import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import Vote from 'src/entities/vote.entity';
import { VoteModelService } from './vote-model.service';

@Global()
@Module({
  imports : [
    TypeOrmModule.forFeature([Vote])
  ],
  providers: [VoteModelService],
  exports : [VoteModelService]
})
export class VoteModelModule {}
